package com.aeoj.client.problem.controller;

import com.aeoj.client.problem.service.ProblemService;
import com.aeoj.domain.client.problem.vo.ProblemVO;
import com.aeoj.domain.management.Problem;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * author: ZSM
 * time: 2025-04-14 22:23
 */
@RestController
@RequestMapping("/client/problem")
public class ProblemController {
    @Resource
    private ProblemService problemService;

    @GetMapping("list")
    public List<ProblemVO> list(ProblemVO problem, Integer pageNumber, Integer pageSize) {
        IPage<Problem> res = problemService.listProblemVO(problem, pageNumber, pageSize);
        return null;
    }
}
